<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
      xmlns:p="http://primefaces.org/ui"
      xmlns:f="http://xmlns.jcp.org/jsf/core"
      xmlns:h="http://xmlns.jcp.org/jsf/html">

    <body>

        <ui:composition template="./../WEB-INF/templates/authenticadeTemplate.xhtml">

            <ui:define name="content">
                <h:form>
                    <p:growl id="growl" showDetail="true" sticky="true"/> 
                    <img src="/smarttmtsuite-web/resources/css/images/Titulo.png"></img>
                    <br/>
                    <br/>
                    <br/>
                    <p:dataTable style="width:100%;font-size:14px;" 
                                 id="payment_history" 
                                 paginator="true" rows="10"  var="plist"
                                 paginatorTemplate="{CurrentPageReport}  {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown}"  
                                 rowsPerPageTemplate="5,10,15" >

                        <f:facet name="header">
                            Historial De Pagos
                        </f:facet>
                        <p:column style="font-family:'Open Sans';font-size:12px;" headerText="Placa" >
                            <h:outputText value="qwert"/>
                        </p:column>
                        <p:column style="font-family:'Open Sans';font-size:12px;" headerText="Vigencias" >
                            <h:outputText value="qwert"/> 
                        </p:column>
                        <p:column style="font-family:'Open Sans';font-size:12px;" headerText="Fecha Pago" >
                            <h:outputText value="qwert"/>
                        </p:column>
                        <p:column style="font-family:'Open Sans';font-size:12px;" headerText="Entidad Financiera" >
                            <h:outputText value="qwert"/>
                        </p:column>
                        <p:column style="font-family:'Open Sans';font-size:12px;" headerText="Numero Formulario" >
                            <h:outputText value="qwert"/>
                        </p:column>
                        <p:column style="font-family:'Open Sans';font-size:12px;" headerText="Valor Pagado" >
                            <h:outputText value="qwert"/>
                        </p:column>
                        <p:column style="font-family:'Open Sans';font-size:12px;" headerText="Valor Descuento" >
                            <h:outputText value="qwert"/>
                        </p:column>
                        <f:facet name="footer">
                            Total: 
                        </f:facet>
                    </p:dataTable>
                    <div align="right">
                        <p:commandButton value="Imprimir" 
                                         rendered="true" actionListener="#{sessionControllerBean.pruebaError()}" update="growl"></p:commandButton>
                        <p:commandButton value="Regresar" 
                                         rendered="true"></p:commandButton>
                    </div>
                </h:form>
            </ui:define>

        </ui:composition>
    </body>
</html>
